.layout-header .right {
  width: 100%;
  height: 60px;
  margin-left: 5px;
  border-radius: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  & > span {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #239289;
    cursor: pointer;
  }
  & > span:nth-child(3) {
    border-radius: 50%;
    background-color: #dddddd;
    color: #fff;
  }
  & > .warn {
    width: 134px;
    height: 30px;
    background: #f16060;
    border-radius: 12px;
    font-size: 14px;
    font-family: Microsoft YaHei, Microsoft YaHei-Normal;
    font-weight: normal;
    text-align: CENTER;
    color: #ffffff;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    & > span:nth-child(2) {
      width: 18px;
      height: 18px;
      text-align: center;
      line-height: 18px;
      font-size: 12px;
      background: #ffffff;
      border-radius: 50%;
      color: #f16060;
      margin: 0 5px;
    }
  }
}
.message-popover {
  display: flex;
  justify-content: space-between;
  color: #333;
  & > .more:hover {
    color: #239289;
    cursor: pointer;
  }
}
.popover-content {
  height: 100px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
  // 滚动条样式
  &::-webkit-scrollbar {
    width: 4px;
    height: 6px;
    background: #e3e7e7;
    border-radius: 2px 2px 2px 2px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 20px;
    // box-shadow: inset 0 0 5px #aaaaaa;
    background: #2fa3a1;
  }

  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 20px;
    background: #ededed;
  }
  .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    & > span {
      margin-right: 20px;
    }
  }
  & > .item:last-child {
    margin: 0;
  }
  & > .msg-box {
    color: #c3c3c3;
  }
}
.alarm-content {
  width: 200px;
  display: flex;
  flex-direction: column;
  & > .item {
    display: flex;
    margin-bottom: 10px;
    & > span:first-child {
      margin-right: 40px;
    }
    & > span:last-child {
      color: #f16060;
    }
  }
  & > .btn {
    align-self: flex-end;
    color: #239289;
    cursor: pointer;
  }
}
.user-popover {
  display: flex;
  align-items: center;
  .ant-avatar {
    line-height: 26px;
  }
  & > .right-content {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    color: #333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    & > span:last-child {
      color: #898a98;
    }
  }
}
.user-popover-content {
  .name {
    margin-left: 10px;
    cursor: pointer;
  }
  & > div:hover {
    color: #239289;
  }
  & > .btn {
    width: 100%;
    border-radius: 2px;
    margin-top: 10px;
  }
}
